<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static'}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <form *ngIf="active" #customerBaseInfoForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span *ngIf="customerBaseInfo.id">{{l("EditCustomerBaseInfo")}}</span>
                        <span *ngIf="!customerBaseInfo.id">{{l("CreateNewCustomerBaseInfo")}}</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" aria-label="Close" [disabled]="saving">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                 


								<div class="form-group">
									<label for="CustomerBaseInfo_Name">{{l("Name")}}</label>
									<input type="text" id="CustomerBaseInfo_Name" class="form-control" [(ngModel)]="customerBaseInfo.name" name="Name"   minlength="0"  maxlength="50" />
								</div>
					
								<div class="form-group">
									<label for="CustomerBaseInfo_PhoneNum">{{l("PhoneNum")}}</label>
									<input type="text" id="CustomerBaseInfo_PhoneNum" class="form-control" [(ngModel)]="customerBaseInfo.phoneNum" name="PhoneNum"   minlength="0"  maxlength="20" />
								</div>
					
								<div class="form-group">
									<label for="CustomerBaseInfo_Email">{{l("Email")}}</label>
									<input type="text" id="CustomerBaseInfo_Email" class="form-control" [(ngModel)]="customerBaseInfo.email" name="Email"   minlength="0"  maxlength="20" />
								</div>
					
								<div class="form-group">
									<label for="CustomerBaseInfo_Company">{{l("Company")}}</label>
									<input type="text" id="CustomerBaseInfo_Company" class="form-control" [(ngModel)]="customerBaseInfo.company" name="Company"   minlength="0"  maxlength="100" />
								</div>
					
								<div class="form-group">
									<label for="CustomerBaseInfo_Address">{{l("Address")}}</label>
									<input type="text" id="CustomerBaseInfo_Address" class="form-control" [(ngModel)]="customerBaseInfo.address" name="Address"   minlength="0"  maxlength="100" />
								</div>
					
								<div class="form-group">
									<label for="CustomerBaseInfo_Sex">{{l("Sex")}}</label>
									<input type="text" id="CustomerBaseInfo_Sex" class="form-control" [(ngModel)]="customerBaseInfo.sex" name="Sex"   minlength="0"  maxlength="2" />
								</div>
					
								<div class="form-group">
									<label for="CustomerBaseInfo_Age">{{l("Age")}}</label>
									<input type="number" id="CustomerBaseInfo_Age" class="form-control" [(ngModel)]="customerBaseInfo.age" name="Age"  min="0"  max="3"/>
								</div>
					

                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default" (click)="close()">{{l("Cancel")}}</button>
                    <button type="submit" class="btn btn-primary blue" [disabled]="!customerBaseInfoForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button>
                </div>
            </form>
        </div>
    </div>

</div>